package com.dtwave.param;

import lombok.*;

import java.io.Serializable;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CheckPointParamObj implements Serializable {
    @NonNull
    private boolean useCheckpoints;
    @NonNull
    private int checkpointsOneTimes;
    @NonNull
    private int minPauseBetweenCheckpoints;
    @NonNull
    private int checkpointTimeout;
    @NonNull
    private int maxConcurrentCheckpoints;
    @NonNull
    private String checkpointDataUri;
    @NonNull
    private int duration;

    @Override
    public String toString(){
        return "Checkpoint参数信息:{"+
                "useCheckpoints"+useCheckpoints+
                "checkpointsOneTimes"+checkpointsOneTimes+
                "minPauseBetweenCheckpoints"+minPauseBetweenCheckpoints+
                "checkpointTimeout"+checkpointTimeout+
                "maxConcurrentCheckpoints"+maxConcurrentCheckpoints+
                "checkpointDataUri"+checkpointDataUri+
                "duration"+duration+"}";
    }

}
